package com.cn.shine.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.cn.shine.pojo.Customer;
@Repository 
public interface CustomerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);
    
    List<Customer> getCustomerListByPage(Customer record);
    
    int getCountCustomerList(Customer record);
    
    List<Customer> customerReport();
    
    List<Customer> orderReport();
}